/*
 * Copyright (C) 2023 HiHope Open Source Organization .
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 *
 * limitations under the License.
 */

#define PZ_CAR_I2C_ADDR      (0x20)   // (0x20|w/r)
#define I2C0_IDX             (0)
#define I2C0_BAUDRATE        (400*1000)

int I2C0Init(void);
int I2C0DeInit(void);
int I2C0_Write(const unsigned char *data, unsigned int dataLen);
int I2C0_Read(unsigned char *data, unsigned int dataLen);
